package com.frinder.data.domain.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
* Created by nnol on 2020/08/07 13:47:37
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Document(collection = "camera")
public class Camera {
    @Id
    private String id;

    /**
     * IP地址
     */
    private String host;

    /**
     * 端口
     */
    private Integer port;

    /**
     * 所属项目
     */
    private String projectSid;
}